Skip to content

Fix Pipedrive set custom field string mapping#686

Open
srl-git wants to merge 1 commit into
dlt-hub:masterfrom
srl-git:fix/pipedrive-set-custom-fields
Open

Fix Pipedrive set custom field string mapping#686
srl-git wants to merge 1 commit into
dlt-hub:masterfrom
srl-git:fix/pipedrive-set-custom-fields

Conversation

@srl-git

@srl-git srl-git commented May 27, 2026

Copy link
Copy Markdown

Tell us what you do here

  • fixing a bug
  • improving an existing source

Short description

Fixes Pipedrive V1 custom field mapping for set fields returned as comma-separated strings.

Previously, values like "62,63,65" were treated as generic iterables, so the mapper iterated over each character and produced values like "6", "2", ",", etc. This change normalizes string set values into option IDs before mapping them to readable option labels.

Added a regression test covering comma-separated Pipedrive set custom field values.

Related Issues

No related issue. This was found while debugging Pipedrive custom field loading locally.

@dat-a-man

Copy link
Copy Markdown
Collaborator

It is tested once and works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants